from urllib import request
url='http://httpbin.org/post'

headers={'User_Agent':'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36'}
reqeust=request.Request(url=url,headers=headers)
r=request.urlopen(reqeust)
print(r.read().decode('utf-8'))
